import axios from 'axios';
axios.defaults.baseURL = 'http://127.0.0.1';

//请求拦截
axios.interceptors.request.use(config => config);

//响应拦截
axios.interceptors.response.use(res=> {
  return res
}, err => {
  return Promise.reject(err);
})
export default axios;
